package com.dt.dubai.sys.service;

import com.dt.dubai.sys.entity.SysAdminLoginRoleEntity;
import com.dt.dubai.sys.service.innate.SysAdminLoginRoleSerInnateAbsImp;
import com.dt.dubai.sys.service.ser.SysAdminLoginRoleService;
import org.springframework.stereotype.Service;

@Service
public class SysAdminLoginRoleServiceImp extends SysAdminLoginRoleSerInnateAbsImp implements SysAdminLoginRoleService {

    /*innateServiceStart*/
    @Override
    protected void userSavEntity(SysAdminLoginRoleEntity inEntity) {

    }

    @Override
    protected void userModEntity(SysAdminLoginRoleEntity inEntity, SysAdminLoginRoleEntity upEntity) {
        upEntity.setAdminLoginRecordId(inEntity.getAdminLoginRecordId()); // 用户登录记录ID
        upEntity.setRoleRecordId(inEntity.getRoleRecordId()); // 角色记录ID
        upEntity.setCompanyLoginRecordId(inEntity.getCompanyLoginRecordId()); // 公司用户记录ID

    }
    /*innateServiceEnd*/
    /*以上内容请误删除或是移动，系统升级使用，static系统升级覆盖用户修改，用户代码请写入下方*/
}
